package com.gaattc.dao;

import com.gaattc.model.Admin;
import com.gaattc.model.bo.AdminLoginBO;
import com.gaattc.model.bo.ChangePwdBO;

import java.sql.SQLException;
import java.util.List;

public interface AdminDao {
    int login(AdminLoginBO loginBO);

    List<Admin> allAdmins();

    Admin getAdminsInfo(int id);

    int addAdmins(Admin admin);

    int updateAdminss(Admin admin);

    int deleteAdmins(int id);

    List<Admin> getSearchAdmins(Admin admin);

    int changePwd(ChangePwdBO changePwdBO);
}
